import { TestUniversalConfig } from "protos/universal/TestUniversalConfig";
import ConfigLoader from "./ConfigLoader";


export default class ConfigManager {

    private static s_TestUniversalConfigs: Array<TestUniversalConfig>;

    public static getTestUniversalConfigs(): Array<TestUniversalConfig> {
        if (this.s_TestUniversalConfigs == null) {
            this.s_TestUniversalConfigs = ConfigLoader.load(TestUniversalConfig, "universal/TestUniversalConfig");
        }
        return this.s_TestUniversalConfigs;
    }

}